package mutiyi;

import java.util.ArrayList;
import java.util.List;

/**
 * Author:yang
 * Date:2024-03-06 12:30
 */
public class Main {
    public static void main(String[] args) {
        List<int[]> points = new ArrayList<>();
        points.add(new int[]{0, 1});
        points.add(new int[]{1, 0});
        points.add(new int[]{1, 1});
        points.add(new int[]{0, 0});

        double minDistance = ShortPathUtil.findShortDistance(points);
        System.out.println((int) minDistance);
    }
}
